<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<%@ page language="java" pageEncoding="UTF-8" contentType="text/html; charset=UTF-8"%>
<html xmlns="http://www.w3.org/1999/xhtml">
<%@ page import="org.apache.commons.logging.LogFactory" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<head>
<title>错误页面</title>
<jsp:include page="/commons/includes/meta.jspf" />
<jsp:include page="/commons/includes/script.jspf" />
<script type="text/javascript">
		function showDetail()
		{
			document.getElementById("detail_error_msg").style.display="block";
			iframeAutoFit();
		}
		</script>
</head>
<body>
<div style="text-align: center; padding-top: 80px;">
<table
	style="width: 60%; height: 138px; border: 6px solid #DCDCDC; background-color: #F9F9F9;">
	<tr>
		<td style="width: 90"></td>
		<td
			style="width:90; background-image: url('<c:url value="/images/fail.gif" />'); background-repeat: no-repeat;"></td>
		<td style="width: 90"></td>
		<td align="center" valign="middle"
			style="font-size: 16px; color: #CC6600"><!--
						<%Exception excp = null;
			String requestUri = (String) request
					.getAttribute("javax.servlet.forward.request_uri");
			if (excp == null) {
				excp = (Exception) request.getAttribute("exception");
			}
			if (excp != null) {
				LogFactory.getLog(requestUri).error(excp.getMessage(), excp);
			}%>
					 --> 操作失败: <br />
		<span style="font-size: 10pt"><%=(excp != null && excp.getMessage() != null) ? excp
					.getMessage().replaceAll("\n", "<br/>") : ""%></span> <br />
		<br />
		<a href="#" onclick="javascript: history.back();">[ 返回 ]</a> <%--
						<a href="#" onclick="$('#detail_error_msg').toggle()">[ 查看错误详细 ]</a>
						 --%></td>
	</tr>
</table>
</div>
<div id="detail_error_msg" style="display: none"><pre>
<%
	//exception.printStackTrace(new java.io.PrintWriter(out));
%>
</pre></div>
</body>
</html>

